#region History

/* -------------------------------------------------------------------------------- 
 * Project Name: JobBoard Enterprise
 * Module: Jb.Web 
 * Name: InterviewRequest.cs
 * Purpose: ViewModel class for Interview Request
 *                   
 * Author: Md. Hassanur Rahman
 * Language: C# SDK Version 4.0
 * --------------------------------------------------------------------------------
 * Change History:
 * Version: 1.0    MHR  08/17/2013
 * Description: Initial Development
 * -------------------------------------------------------------------------------- */

#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Jb.Web.ViewModels
{
    [Serializable]
	public class InterviewRequestViewModel : BaseViewModel
	{	
        /// <summary>
		/// Gets or sets the ID
		/// </summary>
        public int ID { get; set;}

        [Required(ErrorMessage= "Please Select a Application")] 
        [Display(Name = "Application")] 
        public int ApplicationID { get; set;}
            
        [Required(ErrorMessage= "Please Select an Interview Date")]
        [Display(Name = "Interview Date")] 
		public String InvitationDate { get; set; }

        [Required(ErrorMessage = "Please Select an Interview Hour")]
        [Range(0, 23, ErrorMessage = "Please Select an Interview Hour")]
        [Display(Name = "Interview Hour")]
        public int InterviewHour { get; set; }

        [Required(ErrorMessage = "Please Select an Interview Minute")]
        [Range(0, 59, ErrorMessage = "Please Select an Interview Minute")]
        [Display(Name = "Interview Minute")]
        public int InterviewMinute { get; set; }

            
        //[Required(ErrorMessage= "Please Choose Has Message Sent?")]         
        [Display(Name = "Has Message Sent")] 
		public String HasMessageSent	{ get; set; }
            
        //[Required(ErrorMessage= "Please Enter a Invited On")]
        [Display(Name = "Invited On")] 
		public String InvitedOn	{ get; set; }

        //[Required(ErrorMessage = "Please Enter a Message")]
        [StringLength(2000, ErrorMessage = "The {0} can be maximum {1} characters long.")]
        [Display(Name = "Message")]
        //[System.Web.Mvc.ValidateInput(false)]
        public String Message { get; set; }
	}
}

